import MessageNotifySetting from '@/components/dialogs/content/MessageNotifySetting.vue'
import PrivacyPolicy from '@/components/dialogs/content/PrivacyPolicy.vue'
import ProgressDialog from '@/components/dialogs/content/ProgressDialog.vue'
import ShopBuy from '@/components/dialogs/content/ShopBuy.vue'
import SocialLink from '@/components/dialogs/content/SocialLink.vue'
import Subscribe from '@/components/dialogs/content/Subscribe.vue'
import ToS from '@/components/dialogs/content/ToS.vue'
import BCSocialLink from '@/components/dialogs/content/become_creator/SocialLink.vue'
import ValidationWay from '@/components/dialogs/content/become_creator/ValidationWay.vue'
import VerifyEmail from '@/components/dialogs/content/become_creator/VerifyEmail.vue'
import ShopBuySuccess from '@/components/dialogs/content/payment/ShopBuySuccess.vue'
import SubscribeSuccess from '@/components/dialogs/content/payment/SubscribeSuccess.vue'
import { POPUP_DIALOG_TYPE } from '@/constant'
import Accuse from './Accuse.vue'
import CookiePolicy from './CookiePolicy.vue'
import Feedback from './Feedback.vue'
import InstallQrcode from './InstallQrcode.vue'
import Premium from './Premium.vue'
import PremiumSuccess from './PremiumSuccess.vue'
import TestCustom2 from './TestCustom2.vue'
import TestCustom from './TestCustom.vue'
import Text from './Text.vue'
import Tip from './Tip.vue'
import AddCreditCard from './payment/AddCreditCard.vue'
import ChatBuy from './payment/ChatBuy.vue'
import EmbedPayment from './payment/embed/index.vue'
import ServiceSelect from './publish/ServiceSelect.vue'

export default Object.freeze({
  [POPUP_DIALOG_TYPE.ALERT]: Text,
  [POPUP_DIALOG_TYPE.CONFIRM]: Text,
  [POPUP_DIALOG_TYPE.INSTALL_QRCODE]: InstallQrcode,

  [POPUP_DIALOG_TYPE.TIP]: Tip,
  [POPUP_DIALOG_TYPE.ACCUSE]: Accuse,
  [POPUP_DIALOG_TYPE.SUBSCRIBE]: Subscribe,
  [POPUP_DIALOG_TYPE.SHOP_BUY]: ShopBuy,
  [POPUP_DIALOG_TYPE.SUBSCRIBE_SUCCESS]: SubscribeSuccess,
  [POPUP_DIALOG_TYPE.SHOP_BUY_SUCCESS]: ShopBuySuccess,
  [POPUP_DIALOG_TYPE.CHAT_BUY]: ChatBuy,
  [POPUP_DIALOG_TYPE.EMBED_PAYMENT]: EmbedPayment,
  [POPUP_DIALOG_TYPE.CREDIT_CARD]: AddCreditCard,

  [POPUP_DIALOG_TYPE.SERVICE_SELECT]: ServiceSelect,

  [POPUP_DIALOG_TYPE.PREMIUM]: Premium,
  [POPUP_DIALOG_TYPE.PREMIUM_SUCCESS]: PremiumSuccess,

  [POPUP_DIALOG_TYPE.SOCIAL_LINK]: SocialLink,
  [POPUP_DIALOG_TYPE.BECOME_CREATOR_SOCIAL_LINK]: BCSocialLink,
  [POPUP_DIALOG_TYPE.BECOME_CREATOR_VALIDATION_WAY]: ValidationWay,
  [POPUP_DIALOG_TYPE.BECOME_CREATOR_VERIFY_EMAIL]: VerifyEmail,

  [POPUP_DIALOG_TYPE.TEST_CUSTOM]: TestCustom,
  [POPUP_DIALOG_TYPE.TEST_CUSTOM2]: TestCustom2,

  [POPUP_DIALOG_TYPE.PROGRESS]: ProgressDialog,

  [POPUP_DIALOG_TYPE.MESSAGE_NOTIFY_SETTING]: MessageNotifySetting,

  [POPUP_DIALOG_TYPE.COOKIE_POLICY]: CookiePolicy,
  [POPUP_DIALOG_TYPE.PRIVACY_POLICY]: PrivacyPolicy,
  [POPUP_DIALOG_TYPE.TERMS_OF_SERVICE]: ToS,

  [POPUP_DIALOG_TYPE.MINE_FEEDBACK]: Feedback,
})
